lambda arguments : expression
nlst=[4,3,5] mobj = map(lambda x: x*x*x , nlst) clst=list(mobj) print(clst)
[64,27,125]
flst=['amit','raj','mohan','radha'] llst=['jain','rathi','joshi'] mobj = map(lambda a,b :a+' '+b,flst,llst) print(mobj) lst=list(mobj) print(lst)
<map object at 0x0000018359114700> ['amit jain','raj rathi','mohan joshi']